package com.ganbo.stock.entity;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 大宗交易
 *
 * @Author: ganbo
 * @Date: 2020/12/28 19:231
 */

@Data
@Entity
@Table(name = "s_super_bigdeal")
@ToString(callSuper = true)
public class SuperBigDeal extends BaseEntity {

    @Temporal(TemporalType.DATE)
    private Date recordDate;    //记录时间(年月日)

    //=========接口返回数据==============

    private String t;           //日期yyyy-MM-dd
    private String dm;          //股票代码
    private String mc;          //股票名称
    private BigDecimal p;       //成交价格(元)
    private BigDecimal v;       //成交量(万股)
    private BigDecimal dp;      //成交金额(万元)
    private String buyi;        //买方营业部
    private String selli;       //卖方营业部
    private String type;        //证券类型

}
